import com.domain.Account;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import com.service.Accountservice;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import com.tool.proxyfatory;

public class test {
    public static void main(String[] args) {
    }
    @Test
    public void runner(){
    }
    @Test
    public void rest(){
        ApplicationContext ac=new ClassPathXmlApplicationContext(
                "spring.xml");
        Accountservice accountservice= (Accountservice) ac.getBean("accountservice");
        accountservice.tranfer("aaa","bbb",1);
    }
}
